package com.kuyun.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kuyun.entity.News;

public interface NewsMapper {

	// 查询所有趣事
	List<News> findAllNews() throws Exception;

	// 删除单个趣事
	int delNews(@Param(value = "id") Integer id) throws Exception;

}
